﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SilverlightChat
{
    [ServiceContract(CallbackContract = typeof(INotification))]
    public interface IPubSub
    {
        [OperationContract(IsOneWay = true)]
        void Subscribe(string topic);

        [OperationContract(IsOneWay = true)]
        void Publish(string topic, string content);
    }
}
